{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">用户姓名：</label>
                            <div class="layui-input-block">
                                <input type="text" lay-verify="required" class="layui-input" value="{$detail.user_username}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">提交时间：</label>
                            <div class="layui-input-block">
                                <input type="text" lay-verify="required" class="layui-input" value="{$detail.role_time}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">审核状态：</label>
                            <div class="layui-input-block">
                                {if $detail.role_audit_status == 1}
                                <input type="text" lay-verify="required" class="layui-input" value="待审核" disabled>
                                {/if}
                                {if $detail.role_audit_status == 2}
                                <input type="text" lay-verify="required" class="layui-input" value="审核通过" disabled>
                                {/if}
                                {if $detail.role_audit_status == 3}
                                <input type="text" lay-verify="required" class="layui-input" value="审核驳回" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">所在社团：</label>
                            <div class="layui-input-block">
                                <input type="text" lay-verify="required" class="layui-input" value="{$detail.assn_name}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">所在学校：</label>
                            <div class="layui-input-block">
                                <input type="text" lay-verify="required" class="layui-input" value="{$detail.sc_name}" disabled>
                            </div>
                        </div>

                        <!--<div class="layui-form-item layui-col-md-offset1 layui-col-md8">-->
                            <!--<label class="layui-form-label">身份证号：</label>-->
                            <!--<div class="layui-input-block">-->
                                <!--<input type="text" lay-verify="required" class="layui-input" value="{$detail.role_user_card}" disabled>-->
                            <!--</div>-->
                        <!--</div>-->

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">学生证：</label>
                            <div class="input-group col-sm-5">
                                <img id="role_user_front_img" height="100px"
                                     style="float:left;margin-left: 50px;margin-top: 20px;cursor:pointer;"
                                     src="{$detail.role_user_student_img}"
                                     onerror="this.src='/static/admin/images/head_default.gif'" class="img-circle"/>
                            </div>
                        </div>

                        {if $detail.role_audit_status == 3}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">驳回原因：</label>
                            <div class="layui-input-block">
                                <textarea lay-verify="required" class="layui-input " style="height:80px">{$detail.role_false_reason}</textarea>
                            </div>
                        </div>
                        {/if}

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                                <button class="layui-btn layui-btn-primary" onclick="history.go(-1)">返回</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
<script>
</script>

</body>
</html>
